package base_demo.waitandnotify;

public class Demo {
    public static void main(String[] args) {
        //测试
        Cook c = new Cook();
        Food f = new Food();

        c.setName("厨师");
        f.setName("吃货");

        c.start();
        f.start();
    }
}
